<template>
  <router-view></router-view>
  <LockComp v-if="isLock" />
</template>

<script setup lang="ts">
import { defineAsyncComponent } from 'vue'
import { useLock } from '@/hooks'

const LockComp = defineAsyncComponent(() => import('@/components/Lock/index.vue'))

let isLock = useLock()
</script>

<style>
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
#app {
  width: 100vw;
  height: 100vh;
}
</style>